package org.nmgyjt.springboot.entity.exception;

/**
 * @Auhor: Aniskin
 * @Description:
 * @Date:by 15:05 2017/12/18
 * @Modified by:
 */

public class BaseException extends RuntimeException {

    private static final String DEFAULT_MESSAGE = "system failed.";
    private static final long serialVersionUID = 2365908768057834859L;


    public BaseException() {
        super(DEFAULT_MESSAGE);
    }


    public BaseException(String msg) {
        super(msg);
    }

    public BaseException(Throwable throwable) {
        super(throwable);
    }

    public BaseException(String msg, Throwable throwable) {
        super(msg, throwable);
    }
}
